package com.ljh.SimpleTradingSystem.mybatis.entity;

import lombok.Data;

@Data
public class User {
    private int id;             //用户id
    private String name;        //用户名
    private String password;    //密码
    private int errorNum;       //用户输入密码错误的次数
    private String unlockTime;  //解除锁定的时间

    public User() {
    }

    public User(String name, String password, int errorNum, String unlockTime) {
        this.name = name;
        this.password = password;
        this.errorNum = errorNum;
        this.unlockTime = unlockTime;
    }
}
